<?php
class Movies2ProducersModel extends CI_Model {
	function getProducerId($movieid){
		$sql = "select PRODUCERID from movies2producers where MOVIEID = $movieid";
		$data = $this->db->query($sql);
		return $data;		
	}
}
?>